package org.bright.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
//@NoArgsConstructor //无参构造
@AllArgsConstructor // 全参构造
public class User {
    private Integer id;
    private String name;
    private Integer age;
    @TableField(value =  "imgUrl")
    private String imgUrl;
}
